package com.student.course.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.sql.Date;

@Entity
@Table(name = "arrange")
public class Arrange implements Serializable {

    @Id
    private String id;

    private String class_room_id;

    private String course_id;

    private Date class_time;

    private Date regdate;

    private Date updatedate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getClass_room_id() {
        return class_room_id;
    }

    public void setClass_room_id(String class_room_id) {
        this.class_room_id = class_room_id;
    }

    public String getCourse_id() {
        return course_id;
    }

    public void setCourse_id(String course_id) {
        this.course_id = course_id;
    }

    public Date getClass_time() {
        return class_time;
    }

    public void setClass_time(Date class_time) {
        this.class_time = class_time;
    }

    public Date getRegdate() {
        return regdate;
    }

    public void setRegdate(Date regdate) {
        this.regdate = regdate;
    }

    public Date getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(Date updatedate) {
        this.updatedate = updatedate;
    }

    @Override
    public String toString() {
        return "Arrange{" +
                "id='" + id + '\'' +
                ", class_room_id='" + class_room_id + '\'' +
                ", course_id='" + course_id + '\'' +
                ", class_time=" + class_time +
                ", regdate=" + regdate +
                ", updatedate=" + updatedate +
                '}';
    }

}
